package com.eian.boot.module.system.user.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author alex.meng
 * @createTime 2025-09-04 10:30
 * @description 用户更新密码请求参数
 **/
@Data
public class UpdatePasswordRequest {
    @Schema(description = "旧密码")
    @NotBlank(message = "旧密码不能为空")
    private String password;

    @Schema(description = "新密码")
    @NotBlank(message = "新密码不能为空")
    private String newPassword;
}
